package com.shop.cloud.model.request.api;

import io.swagger.annotations.ApiModelProperty;
import lombok.ToString;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @author xiaojun.wang
 */
@ToString(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler",
		"fieldHandler" }, ignoreUnknown = true)
public class ApiGetMessageListRequest extends ApiRestfulRequest {

	private static final long serialVersionUID = -3286520204644035655L;

	@JsonProperty("params")
	@ApiModelProperty(value = "参数", example = "object", required = true)
	private ApiGetMessageListRequestModel params;

	@ApiModelProperty(value = "是否已读：0-未读  1-已读")
	private Integer isRead;

	public Integer getIsRead() {
		return isRead;
	}

	public void setIsRead(Integer isRead) {
		this.isRead = isRead;
	}

	public ApiGetMessageListRequestModel getParams() {
		return params;
	}

	public void setParams(ApiGetMessageListRequestModel params) {
		this.params = params;
	}

}
